home *** CD-ROM | disk | FTP | other *** search
/ Dos/V Magazine 1995 October 15 / CD [VMAG951015].bin / _demo / prowres / shared.dxr / 01507_ÉnÉìÉhÉâäeîN_YN&_TM.ls < prev    next >
Encoding:
Text File  |  1995-08-07  |  3.7 KB  |  131 lines

  1. global popmsw01, syearstr, nminipage, npopon, lmaxpagelist, memcastnum
  2.  
  3. on mrollovchk01_yn
  4.   if the frameLabel = "IN" then
  5.     mrollovchk01_yn_in(the number of cast "News-Bar")
  6.   else
  7.     if the frameLabel = "PT" then
  8.       mrollovchk01_yn_pt(the number of cast "News-Bar")
  9.     else
  10.     end if
  11.   end if
  12. end
  13.  
  14. on mrollovchk01_tm
  15.   if the frameLabel = "IN" then
  16.     mrollovchk01_yn_in(the number of cast "TitleMach-Bar")
  17.   else
  18.     if the frameLabel = "PT" then
  19.       mrollovchk01_yn_pt(the number of cast "TitleMach-Bar")
  20.     else
  21.     end if
  22.   end if
  23. end
  24.  
  25. on mrollovchk01_yn_in tcnos9
  26.   if rollOver(2) then
  27.     set the visible of sprite 2 to 1
  28.     mvisiblechk(5, 8, 0)
  29.     mvisiblechk(17, 18, 0)
  30.     mvisiblechk(25, 39, 0)
  31.     if the castNum of sprite 9 <> tcnos9 then
  32.       set the castNum of sprite 9 to tcnos9
  33.     end if
  34.     cursor(280)
  35.   else
  36.     set the visible of sprite 2 to 0
  37.     if rollOver(5) or rollOver(6) or rollOver(7) or rollOver(8) then
  38.       mrollovchk04_05to08()
  39.       mvisiblechk(17, 18, 0)
  40.       mvisiblechk(25, 39, 0)
  41.     else
  42.       mvisiblechk(5, 8, 0)
  43.       if the castNum of sprite 9 <> tcnos9 then
  44.         set the castNum of sprite 9 to tcnos9
  45.       end if
  46.       if rollOver(25) or rollOver(26) or rollOver(27) or rollOver(28) or rollOver(29) or rollOver(30) or rollOver(31) or rollOver(32) or rollOver(33) or rollOver(34) or rollOver(35) or rollOver(36) then
  47.         mrollovchk05_25to39()
  48.       else
  49.         mvisiblechk(25, 36, 0)
  50.         if rollOver(38) or rollOver(39) then
  51.           mrollovchk03_00_in()
  52.         else
  53.           mvisiblechk(38, 39, 0)
  54.           if rollOver(17) or rollOver(18) or rollOver(20) or rollOver(21) then
  55.             mrollovchk02_yn_in()
  56.           else
  57.             mvisiblechk(17, 18, 0)
  58.             mvisiblechk(20, 21, 0)
  59.             if rollOver(16) then
  60.               cursor(280)
  61.             else
  62.               cursor(-1)
  63.             end if
  64.           end if
  65.         end if
  66.       end if
  67.     end if
  68.   end if
  69. end
  70.  
  71. on mrollovchk01_yn_pt tcnos9
  72.   set the castNum of sprite 24 to memcastnum
  73.   if rollOver(2) then
  74.     set the visible of sprite 2 to 1
  75.     mvisiblechk(5, 8, 0)
  76.     if the castNum of sprite 9 <> tcnos9 then
  77.       set the castNum of sprite 9 to tcnos9
  78.     end if
  79.     cursor(280)
  80.   else
  81.     set the visible of sprite 2 to 0
  82.     if rollOver(5) or rollOver(6) or rollOver(7) or rollOver(8) then
  83.       mrollovchk04_05to08()
  84.     else
  85.       mvisiblechk(5, 8, 0)
  86.       if the castNum of sprite 9 <> tcnos9 then
  87.         set the castNum of sprite 9 to tcnos9
  88.       end if
  89.       if rollOver(22) then
  90.         cursor(280)
  91.       else
  92.         if rollOver(25) or rollOver(26) or rollOver(27) or rollOver(28) or rollOver(29) or rollOver(30) or rollOver(31) or rollOver(32) or rollOver(33) or rollOver(34) or rollOver(35) or rollOver(36) then
  93.           mrollovchk05_25to39()
  94.         else
  95.           mvisiblechk(25, 36, 0)
  96.           if rollOver(38) or rollOver(39) then
  97.             mrollovchk03_00_in()
  98.           else
  99.             mvisiblechk(38, 39, 0)
  100.             if rollOver(17) or rollOver(18) or rollOver(20) or rollOver(21) then
  101.             else
  102.               if rollOver(16) then
  103.                 cursor(-1)
  104.               else
  105.                 mvisiblechk(17, 18, 0)
  106.                 mvisiblechk(20, 21, 0)
  107.                 cursor(-1)
  108.               end if
  109.             end if
  110.           end if
  111.         end if
  112.       end if
  113.     end if
  114.   end if
  115. end
  116.  
  117. on mrollovchk02_yn_in
  118.   if rollOver(17) and (the name of cast (the castNum of sprite 16 - 1) = "PG-STT") then
  119.     mvisiblechk(17, 18, 0)
  120.     cursor(-1)
  121.   else
  122.     if rollOver(18) and (the name of cast (the castNum of sprite 16 + 1) = "PG-END") then
  123.       mvisiblechk(17, 18, 0)
  124.       cursor(-1)
  125.     else
  126.       mvisiblerep(17, 18)
  127.       cursor(280)
  128.     end if
  129.   end if
  130. end
  131.